<%@ page import="user.ISBN"%>

<%
    String isbn = request.getParameter("isbn");
    String redirectURL = "search_results.jsp";
    
    ISBN search = new ISBN(isbn);
    search.findProduct();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>LitHub Horizontal Prototype</title>
<link rel="stylesheet" type="text/css" media="all" href="css/960.css" />
<link rel="stylesheet" type="text/css" media="all" href="css/reset.css" />
<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
</head>
<body>

<div class="container_12">

        <!-- Navbar Div -->
	<div class="grid_12" id="navbar" style="font-size: 46px;">
		<ul>
			<li><img src="images/icon_1.png" /></li>
			<li>LitHub</li>
		</ul>
	</div>
	<div class="clear">&nbsp;</div>
	<!-- End Navbar Div-->

        <!--Top Section-->
	<div class="grid_12 topSection" >
		<div style="padding-left: 10px">
                    <h3>ISBN Results</h3><br />
                    <p>Title: <%=search.getTitle()%></p>
                    <p>Author <%=search.getAuthor()%></p>
                    <p>Publisher: <%=search.getPublisher()%></p>
                    <p>Summary <%=search.getSummary()%></p>
                    
                    <form name="add_book_action" method="post" style="display: inline;" action="add_book.jsp" >
                        <input style="display: inline" type="submit" value="Add book"/>
                    </form>
                    <form name="search_friends_library" style="display: inline" method="post" action="search_friends_library_action.jsp">
                        <input type="submit" value="Search Friends' Library"/>
                    </form>
                    
                </div>
	</div>

	<!--Spacer-->
	<div class="grid_12 spacer">
	</div>
	<div class="clear">&nbsp;</div>
	<!--End Spacer-->

</div>

<div id="legal">
	<p>&copy; LitHub 2012</p>
</div>
</body>
</html>
